const app = getApp();

// pages/projectNews/projectNews.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    projections: []
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    this.setData({
      projections: app.globalData.projections
    });
  },

  // 选择项目动态点击处理
  handleProjectionTap (e) {
    app.toWebView(e.currentTarget.dataset.index);
  }
});